﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FDEE.Model.Member.Footing
{
    public abstract class Footing4Base : MemberBase
    {
        public int Height = 2000;  //承台高度
        public int Length = 7000;  //承台长度(横）
        public int Width = 4500;   //承台宽度(顺）
        public Footing4Base(string typeName, string pierNumber,string type= "PME41")
            : base(typeName, pierNumber)
        {
            if (type == "PME41")
            {
                Height = 2000;  //承台高度
                Length = 7000;  //承台长度(横）
                Width = 4500;
            }
            else if (type == "PME42")
            {
                Height = 1650;  //承台高度
                Length = 5600;  //承台长度(横）
                Width = 5600;   //承台宽度(顺）
            }
        }

        public override void SetConcreteClass()
        {
            ConcreteClass = eConcreteClass.C35;
        }

        public override void SetConcreteVolume()
        {
            ConcreteVolumn = Height * Length * Width;
        }

    }
}
